package com.tour.bean;

import java.io.Serializable;
import java.util.Date;

/**
 *  ticketinfo
 * @author  2020-03-17
 */
public class Ticketinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id 主键自增
     */
    private Integer id;

    /**
     * 车次信息
     */
    private String trainInfo;

    /**
     * 出发站
     */
    private String startStation;

    /**
     * 出发时间
     */
    private Date startTime;

    /**
     * 运行时间
     */
    private String runTime;

    /**
     * 到达站
     */
    private String lastStation;

    /**
     * 到达时间
     */
    private Date lastTime;

    public Ticketinfo() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTrainInfo() {
        return trainInfo;
    }

    public void setTrainInfo(String trainInfo) {
        this.trainInfo = trainInfo;
    }

    public String getStartStation() {
        return startStation;
    }

    public void setStartStation(String startStation) {
        this.startStation = startStation;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getRunTime() {
        return runTime;
    }

    public void setRunTime(String runTime) {
        this.runTime = runTime;
    }

    public String getLastStation() {
        return lastStation;
    }

    public void setLastStation(String lastStation) {
        this.lastStation = lastStation;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    @Override
    public String toString() {
        return "Ticketinfo{" +
                "id=" + id +
                ", trainInfo='" + trainInfo + '\'' +
                ", startStation='" + startStation + '\'' +
                ", startTime=" + startTime +
                ", runTime='" + runTime + '\'' +
                ", lastStation='" + lastStation + '\'' +
                ", lastTime=" + lastTime +
                '}';
    }
}